package com.hunttown.mes.rpc.api;

import com.hunttown.common.domain.Page;
import com.hunttown.mes.rpc.domain.IotEnterpriseManageDTO;
import com.hunttown.mes.rpc.domain.query.IotEnterpriseManageDTOQuery;

/**
 * created by wangjunfu on 2021-02-20 11:33:48
 */
public interface IotEnterpriseManageRpcService {

    IotEnterpriseManageDTO insert(IotEnterpriseManageDTO iotEnterpriseManageDTO);

    Boolean updateInfoById(IotEnterpriseManageDTO iotEnterpriseManageDTO);

    Boolean updateInfoByQuery(IotEnterpriseManageDTOQuery iotEnterpriseManageDTOQuery);

    IotEnterpriseManageDTO selectById(Integer id);

    IotEnterpriseManageDTO selectObjByQuery(IotEnterpriseManageDTOQuery iotEnterpriseManageDTOQuery);

    Page<IotEnterpriseManageDTO> getListForPage(IotEnterpriseManageDTOQuery iotEnterpriseManageDTOQuery);

    Boolean deleteById(Integer id);
}